home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
et
/
et3_0-a1.lha
/
et3
/
src
/
MenuBar.h
< prev
next >
Wrap
C/C++ Source or Header
|
1992-06-30
|
681b
|
35 lines
#ifndef MenuBar_First
#ifdef __GNUG__
//pragma once
#pragma interface
#endif
#define MenuBar_First
#include "Box.h"
class PullDownButton;
class Menu;
//---- MenuBar -----------------------------------------------------------------
class MenuBar: public Box {
public:
MetaDef(MenuBar);
MenuBar(Collection *c= 0);
void AddMenu(Menu *pdm);
Metric GetMinSize();
void SetExtent(Point e);
void SetOrigin(Point at);
void Draw(Rectangle r);
Command *DispatchEvents(Point lp, Token &t, Clipper *vf);
VObject *FindItem(Point);
int CheckKey(Token &t);
Menu *FindMenu(int id);
protected:
CompositeVObject *mb;
VObject *help;
};
#endif